package com.lxlx.weixinlx.domain;

import com.lxlx.weixinlx.anno.ExcelAtrribute;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author liuhuan
 * @date
 * @描述
 */
@Entity
@Table(name="student")
public class Student {
    @Id
    @ExcelAtrribute(sort = 0)//@ExcelAtrribute(sort = 0)通用导出类注解
    private String id;
    @ExcelAtrribute(sort = 1)
    private String name;
    @ExcelAtrribute(sort = 2)
    private String birth;
    @ExcelAtrribute(sort = 3)
    private String sex;
    private String content;
    private String hobby;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
